@extends('layout.admin.master')
@section('content')
    <div class="card">
        <div class="card-header">
            <h4 class="card-header-title">
                站点配置管理
                {{--<p class="mt-3">站点配置标识：site</p>--}}
            </h4>

        </div>
        <div class="card-body">

            <form action="{{route ('admin.config.update',['name'=>$name])}}" method="post">
                @csrf
                <div class="form-group">
                    <label for="exampleInputEmail1">网站标题</label>
                    <input type="text" name="title" value="{{config('site.title')}}" class="form-control" id="exampleInputEmail1" >
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">网站关键词</label>
                    <input type="text" name="keyword" value="{{config('site.keyword')}}" class="form-control" id="exampleInputPassword1" >
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">网站描述</label>
                    <textarea name="description" class="form-control"  rows="3">{{config('site.description')}}</textarea>
                </div>
                <div class="form-group">
                    <label for="exampleInputPassword1">icp</label>
                    <input type="text" name="icp" class="form-control" value="{{config('site.icp')}}" id="exampleInputPassword1" >
                </div>
                <button type="submit" class="btn btn-primary">保存数据</button>
            </form>

        </div>

    </div>
@endsection